﻿@model AuditModel.CountyClassDate

@{
    ViewBag.Title = AuditResources.UI.PageTitle;
    Layout = "~/Views/Shared/Admin/_EventSettingLayout.cshtml";
}

<h2><text>设置</text>@AuditResources.CountyClassDate.ObjectName</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>@AuditResources.CountyClassDate.ObjectName</legend>
        <div class="editor-label">
             @AuditResources.CountyClassDate.AnnualEventId
        </div>
        <div class="editor-field">
            @ViewBag.AnnualEvent.Title
            @Html.Hidden("AnnualEventId",(string)ViewBag.AnnualEventID)
        </div>
        <div class="editor-label">
             @AuditResources.CountyClassDate.CountyCode
        </div>
        <div class="editor-field">
            @Html.DropDownList("CountyCode",string.Empty)
            @Html.ValidationMessageFor(model => model.CountyCode)
        </div>
        <div class="editor-label">
            @AuditResources.CountyClassDate.ClassDate
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model=>model.ClassDate)<span>(日期填写格式yyyy-mm-dd，如2012-12-24)</span>
            @Html.ValidationMessageFor(model => model.ClassDate)
        </div>
    </fieldset>
    <div>
<input type="submit" value="@AuditResources.UI.Save" />|
    @Html.ActionLink(AuditResources.UI.BackToList, "Index", new { id = ViewBag.AnnualEventID }, new { @class = "button" })
</div>
}


